﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Utility;
using Data;

namespace DataAccess
{
    public class Tbl_FeedbackBus
    {
        LinqUtility<tbl_feedback> context = new LinqUtility<tbl_feedback>();

        public List<tbl_feedback> getListFeedback()
        {
            return context.GetAll();
        }

        public void insertFeedback(tbl_feedback tf)
        {
            context.Insert(tf);
        }

        public void updateFeedback(tbl_feedback tf)
        {
            context.Update(tf);
        }

        public void delete(tbl_feedback tf)
        {
            context.Delete(tf);
        }

    }
    
}
